package com.example.springbootkafka.configration;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "mytask.pool")
@Data
public class ThreadPoolConfig {
    private int corePoolSize =  5;
    private int maxPoolSize = 20;
    private int keepAliveSecond = 200;
    private int queueCapacity = 150;

}
